-define(SINGLETON,singleton).
-define(PROTOTYPE,prototype).
%%--------------------------------------------------------------------
%% Record for erlioc-bean specification.
%%--------------------------------------------------------------------
-record(bean,{
			  id, % bean_id()=atom()
			  lifecycle=?SINGLETON, % one of: singleton, prototype
			  depends=[], % list of bean_id() i.e. [bean_id()]
			  create % fun with arity equal to lenght of depends list 
			 }).